<?php
/**
 * Created by 沧月
 * User: Lhhhh丶
 * Date: 2019/5/4
 * Time: 15:37
 */

namespace app\api\model;


class ProductImage extends BaseModel
{
    protected $hidden = ['img_id','delete_time','product_id'];

    public function imgUrl(){
        return $this->belongsTo('Image','img_id','id');
    }
}